package com.zrrd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanjl
 * @since 2024-09-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="Rule对象", description="")
public class Rule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    protected Integer id;

    @ApiModelProperty(value = "父级id")
    protected Integer ruleId;

    @ApiModelProperty(value = "状态0关闭1启用")
    protected Boolean status;

    protected Integer createTime;

    protected Integer updateTime;

    @ApiModelProperty(value = "前端路由name值")
    protected String name;

    protected String description;

    @ApiModelProperty(value = "前台路由注册路径")
    protected String frontpath;

    protected String conditions;

    @ApiModelProperty(value = "是否显示为菜单：0不显示1关闭")
    protected Integer menu;

    @ApiModelProperty(value = "排序")
    protected Integer ordered;

    @ApiModelProperty(value = "图标")
    protected String icon;

    @ApiModelProperty(value = "请求类型")
    protected String method;


}
